package com.security.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.security.web.domain.JwtUser;
import com.security.web.entity.SysUser;
import com.security.web.utils.AjaxResult;

import javax.servlet.http.HttpServletRequest;

/**
 * 用户信息表(SysUser)表服务接口
 *
 * @author makejava
 * @since 2022-01-07 10:36:09
 */
public interface SysUserService extends IService<SysUser> {
    JwtUser getUserByName(String username);

    AjaxResult addUser(SysUser user);

    AjaxResult login(SysUser user, HttpServletRequest request);
}

